import random
import sys
import io

# 防止中文乱码（尤其是在 Windows 上运行时）
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding='utf-8')

def generate_additive_numbers(num_cases=5, max_len=20):
    print("随机生成的测试用例：")
    for _ in range(num_cases):
        a = random.randint(1, 99)
        b = random.randint(1, 99)
        sequence = [a, b]
        while len(''.join(map(str, sequence))) < max_len:
            sequence.append(sequence[-1] + sequence[-2])
        num_str = ''.join(map(str, sequence))
        print(f'"{num_str}"')

if __name__ == "__main__":
    # 基础测试用例
    print("基础测试用例：")
    print('"112358"')
    print('"199100199"')

    # 随机测试用例
    generate_additive_numbers()

